package lium.lbs.lbsim

import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import com.tencent.mm.opensdk.openapi.WXAPIFactory

class AppRegister : BroadcastReceiver() {
    override fun onReceive(context: Context?, intent: Intent?) {
        var api = WXAPIFactory.createWXAPI(context, "wx18dbe14ee98ecb20")
        // 将该app注册到微信
        api.registerApp("wx18dbe14ee98ecb20")
    }

}
